// const request = require('../utils/request')
import { createRequest as request } from '../utils/request'

const findMineBookmark = () => {
    return request('GET', '/bookmark/findMineBookmark', {}, {}, {
        crypto: ''
    })
}

const addBookmark = (query) => {
    return request('POST', '/bookmark/addBookmark', {}, query, {
        crypto: ''
    })
}

const editBookmark = (query) => {
    return request('POST', '/bookmark/editBookmark', {}, query, {
        crypto: ''
    })
}

const deleteByIds = (query) => {
    return request('POST', '/bookmark/deleteByIds', {}, query, {
        crypto: ''
    })
}

export default {
    findMineBookmark,
    addBookmark,
    editBookmark,
    deleteByIds
}
